<template>
        <el-container>
            <el-aside width="200px">
                <!-- 导航菜单 -->
                    <!-- class="el-menu-vertical-demo"
                    @open="handleOpen"
                    @close="handleClose" -->
                <el-menu
                    default-active="msbd"
                    background-color="#545c64"
                    text-color="#fff"
                    active-text-color="#ffd04b"
                    :router="true">
                    <!-- <el-submenu index="1">
                        <template slot="title">
                        <i class="el-icon-location"></i>
                        <span>导航一</span>
                        </template>
                        <el-menu-item-group>
                        <template slot="title">分组一</template> 
                        <el-menu-item index="1-1">选项1</el-menu-item>
                        <el-menu-item index="1-2">选项2</el-menu-item>
                        </el-menu-item-group>
                        <el-menu-item-group title="分组2">
                        <el-menu-item index="1-3">选项3</el-menu-item>
                        </el-menu-item-group>
                        <el-submenu index="1-4">
                        <template slot="title">选项4</template>
                        <el-menu-item index="1-4-1">选项1</el-menu-item>
                        </el-submenu>
                    </el-submenu> -->
                    <el-menu-item index="msbd">
                        <i class="el-icon-menu"></i>
                        <span slot="title">面试宝典</span>
                    </el-menu-item>
                    <el-menu-item index="test">
                        <i class="el-icon-menu"></i>
                        <span slot="title">在线考试</span>
                    </el-menu-item>
                    <el-menu-item index="users">
                        <i class="el-icon-menu"></i>
                        <span slot="title">用户管理</span>
                    </el-menu-item>
                </el-menu>
            </el-aside>
            <el-container>
                <el-header style="text-align: right; font-size: 12px">
                    <h1 style="float:left;margin:0;">BK后台管理</h1>
                    <span>用户：王小虎（管理员）</span>
                    <el-dropdown>
                        <i class="el-icon-setting" style="margin-right: 15px"></i>
                        <el-dropdown-menu slot="dropdown">
                        <el-dropdown-item>查看</el-dropdown-item>
                        <el-dropdown-item>新增</el-dropdown-item>
                        <el-dropdown-item>删除</el-dropdown-item>
                        </el-dropdown-menu>
                    </el-dropdown>
                </el-header>
                <!-- <el-header>
                    BK后台管理
                </el-header> -->
                <el-main>
                    <Nuxt />
                </el-main>
                <el-footer>Footer</el-footer>
            </el-container>
         </el-container>
</template>

<script>
export default {};
</script>

<style>
html,
body,
#__nuxt,
#__layout {
  height: 100%;
  
}

</style>
<style scoped>
.el-container {
  height: 100%;
}
.el-header {
    font-size:20px;
    line-height: 60px;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
}

.el-aside {
  background-color: #545c64;
}

.el-main {
  background-color: #e9eef3;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-menu {
    border-right: none;
}

/* .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  } */
</style>